﻿<html xmlns:th="http://www.thymeleaf.org">
<head th:include="basepage/head::head"></head>
<body>
<div id="page-wrapper" class="page-loading">
    <div class="preloader">
        <div class="inner">
            <!-- Animation spinner for all modern browsers -->
            <div class="preloader-spinner themed-background hidden-lt-ie10"></div>

            <!-- Text for IE9 -->
            <h3 class="text-primary visible-lt-ie10"><strong>Loading..</strong></h3>
        </div>
    </div>
    <div id="page-container" class="header-fixed-top sidebar-visible-lg-full">
        <header th:include="basepage/left::left"></header>
        <!--主要内容 START-->
        <div id="main-container" class="main-content">
<header th:include="basepage/header::header"></header>
	<div id="page-content">
	
		<!--小的第一排-->
		<div class="block">
			<div class="row" style="margin-bottom: 20px;">
				<form id="addLinuxForm" class="form-horizontal form-bordered" onsubmit="return false;">
					<fieldset>
						 <div class="form-group">
								 <label class="col-sm-2 control-label" for="cu_name">主机ip:</label>
								 <div class="col-sm-4">
								    <input class="form-control" id="ip" name="ip" type="text" placeholder="主机所在ip" th:value="${linux.ip}"/>
								    <input class="form-control" id="id" name="id" type="hidden" th:value="${linux.id}"/>
								 </div>
						 </div>
						 <div class="form-group">		
								 <label class="col-sm-2 control-label" for="trun_name">用户名：</label>
								 <div class="col-sm-4">
								    <input class="form-control" id="username" name="username" type="text" placeholder="linux系统用户名" th:value="${linux.username}"/>
								 </div>
						 </div>
						 <div class="form-group">
							 <label class="col-sm-2 control-label" for="hd_address">密码：</label>
							 <div class="col-sm-4">
							    <input class="form-control" id="password" name="password" type="text" placeholder="linux系统密码" th:value="${linux.password}"/>
							 </div>
						 </div>
						 <div class="col-sm-4">
							<div class="form-actions ">
								<button type="button" class="btn btn-primary" style="float: right; margin-top: 20px;" onclick="form_submit_onclick('addLinuxForm','saveLinuxServerInfo')">提交</button>
							</div>
						 </div>
					</fieldset>
				</form>
			</div>
		</div>
	</div>
</div>
        <!--主要内容 END-->
        <!-- END Main Container -->
    </div>
    <!-- END Page Container -->
</div>
<!-- END Page Wrapper -->
<header th:include="basepage/footer::footer"></header>
<script type="text/javascript">
     $("#service_left").addClass("open");
     $("#linux_add").addClass("active");
</script>
</body>
</html>
